home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000077_jaltman@watsun.cc.columbia.edu_Wed Nov 13 16:19:11 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  62 lines

  1. Article: 13843 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman
  3. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: C-Kermit FTP script
  6. Date: 13 Nov 2002 21:16:55 GMT
  7. Organization: Columbia University
  8. Lines: 45
  9. Message-ID: <aqufg7$39f$1@newsmaster.cc.columbia.edu>
  10. References: <8ce22d01.0211131301.2d2c8112@posting.google.com>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1037222215 3375 128.59.39.2 (13 Nov 2002 21:16:55 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 13 Nov 2002 21:16:55 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13843
  16.  
  17. FTP OPEN will not result in FAILURE because of a failed login
  18. attempt.  The OPEN succeeds if you are connected to the FTP 
  19. server.
  20.  
  21. If you want to automate the login and be able to test the result:
  22.  
  23.   SET FTP AUTOLOGIN OFF
  24.   FTP OPEN hostname
  25.   IF FAILURE ...
  26.   FTP USER username password 
  27.   IF FAILURE ...
  28.  
  29.  
  30.  
  31. In article <8ce22d01.0211131301.2d2c8112@posting.google.com>,
  32. Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
  33. : ; FTP script from Linux archive to skinner /icsdemo 
  34. : set command quoting on
  35. : set login prompt 
  36. : set network tcp/ip
  37. : if fail end 1 TCP/IP Failed
  38. : set input echo on
  39. : ftp open skinner /user:root /password:xxxxxx
  40. : if fail exit 1 connection failed
  41. : ftp cd /icsdemo
  42. : ftp put jdsmenuarch.tar
  43. : ftp put gbsarch.tar
  44. : quit
  45. : The script above works when the ftp open is correct.
  46. : if also works correctly (fails) if the ftp server does not exist.
  47. : It is broken if the server exists but the login fails.
  48. : IE: the put commands are issued.
  49. : I've made it as simple as I can but can't see what I'm doing wrong.
  50. : Using Linux 8.0.206 on Mandrake distro.
  51. : Skinner is SCO OpenServer 5.04 if that matters?
  52. : Any help appreciated.
  53. : Regards...Dan.
  54.  
  55.  
  56.  Jeffrey Altman * Sr.Software Designer     Kermit 95 2.0 GUI available now!!!
  57.  The Kermit Project @ Columbia University  SSH, Secure Telnet, Secure FTP, HTTP
  58.  http://www.kermit-project.org/            Secured with MIT Kerberos, SRP, and 
  59.  kermit-support@columbia.edu               OpenSSL.
  60.